package com.zhoug.ocr.textin.data;


/**
 * @Author: zhoug
 * @Date: 2023/3/1
 * @Description:
 */
public class HeaderField  {
    public static final int INVALID_INDEX = -1;
    private String name;//名称
    private String field;//字段
    private int startRow = INVALID_INDEX;
    private int endRow = INVALID_INDEX;
    private int startCol = INVALID_INDEX;
    private int endCol = INVALID_INDEX;


    public HeaderField() {
    }

    public HeaderField(String name) {
        this.name = name;
    }

    public HeaderField(String name, String field) {
        this.name = name;
        this.field = field;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public int getStartRow() {
        return startRow;
    }

    public void setStartRow(int startRow) {
        this.startRow = startRow;
    }

    public int getEndRow() {
        return endRow;
    }

    public void setEndRow(int endRow) {
        this.endRow = endRow;
    }

    public int getStartCol() {
        return startCol;
    }

    public void setStartCol(int startCol) {
        this.startCol = startCol;
    }

    public int getEndCol() {
        return endCol;
    }

    public void setEndCol(int endCol) {
        this.endCol = endCol;
    }



}
